#include <iostream>

using namespace std;

int main() {
    int foo, bar, sum = 0;
    cin >> foo;
    for (int i = 0; i < foo; i++){
        cin >> bar;
        sum += bar;
    }
    cout << "The sum is " << sum;
    return 0;
}
